set(SOURCES
    exampleextensionmediator.cpp
    qexampleextension.cpp
)

set(FORMS
    qexampleextensionbase.ui
)

set(RESOURCES
    example.qrc
)

add_translations(QM_FILES example translations)

add_library(example ${SOURCES} ${FORMS} ${RESOURCES} ${QM_FILES})

add_extension(example)


################ Internal library dependencies ################

get_target_includes(CORE_INCLUDES core YES)
target_include_directories(example PUBLIC ${CORE_INCLUDES})

target_link_libraries(example core)


################ External library dependencies ################

target_link_qt(example
    Core
    Widgets
)
